package com.example.student1.dao;


import com.example.student1.domain.Teacher_Login;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface Teacher_LoginRepository extends JpaRepository<Teacher_Login,Long> {

    public List<Teacher_Login> findByNameLike(String name);
    public List<Teacher_Login> findByNameAndPassword(String name,String password);
}
